package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.domain.ProCreateBuilding;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 竣工资料对象 be_completed
 * 
 * @author ruoyi
 * @date 2020-06-24
 */
public class BeCompleted extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    @Excels({
            @Excel(name = "项目名称", targetAttr = "pName", type = Excel.Type.EXPORT),
            @Excel(name ="创建时间", targetAttr = "pTime",type = Excel.Type.EXPORT)
    })
    private ProCreateBuilding proCreateBuilding;

    public ProCreateBuilding getProCreateBuilding() {
        return proCreateBuilding;
    }

    public void setProCreateBuilding(ProCreateBuilding proCreateBuilding) {
        this.proCreateBuilding = proCreateBuilding;
    }


    /** 资料id */
    private Long beId;

    /** 资料类型 */
    @Excel(name = "资料类型")
    private Long beType;

    /** 资料名称 */
    @Excel(name = "资料名称")
    private String beName;

    /** 上传资料 */
    @Excel(name = "上传资料")
    private String beData;

    /** 上传时间 */
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beTime;

    /** 上传人 */
    @Excel(name = "上传人")
    private String beTheHeir;

    /** 备注 */
    @Excel(name = "备注")
    private String beRemark;

    /** 项目信息 */
//    @Excel(name = "项目信息")
    private Long bePro;

    public void setBeId(Long beId) 
    {
        this.beId = beId;
    }

    public Long getBeId() 
    {
        return beId;
    }
    public void setBeType(Long beType) 
    {
        this.beType = beType;
    }

    public Long getBeType() 
    {
        return beType;
    }
    public void setBeName(String beName) 
    {
        this.beName = beName;
    }

    public String getBeName() 
    {
        return beName;
    }
    public void setBeData(String beData) 
    {
        this.beData = beData;
    }

    public String getBeData() 
    {
        return beData;
    }
    public void setBeTime(Date beTime) 
    {
        this.beTime = beTime;
    }

    public Date getBeTime() 
    {
        return beTime;
    }
    public void setBeTheHeir(String beTheHeir) 
    {
        this.beTheHeir = beTheHeir;
    }

    public String getBeTheHeir() 
    {
        return beTheHeir;
    }
    public void setBeRemark(String beRemark) 
    {
        this.beRemark = beRemark;
    }

    public String getBeRemark() 
    {
        return beRemark;
    }
    public void setBePro(Long bePro) 
    {
        this.bePro = bePro;
    }

    public Long getBePro() 
    {
        return bePro;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("beId", getBeId())
            .append("beType", getBeType())
            .append("beName", getBeName())
            .append("beData", getBeData())
            .append("beTime", getBeTime())
            .append("beTheHeir", getBeTheHeir())
            .append("beRemark", getBeRemark())
            .append("bePro", getBePro())
                .append("proCreateBuilding",getProCreateBuilding())
            .toString();
    }
}
